/*
 * @Description:执行表单
 * @Author: Zzt
 * @Date: 2022-08-09 14:59:01
 * @LastEditTime: 2022-08-11 19:02:39
 */

import { Form, Select } from 'antd';
import TextArea from 'antd/lib/input/TextArea';
import JPDatePicker from '@/components/JPComponents/JPDatePicker';

const { Option } = Select;

const Executive = (props: any) => {
  return (
    <>
      <Form.Item label="执行状态" name="status">
        <Select>
          <Option value="0">待执行</Option>
          <Option value="1">正在执行</Option>
          <Option value="2">已执行</Option>
        </Select>
      </Form.Item>
      <Form.Item label="执行时间" key="time">
        <Form.Item name="execStartTime" noStyle>
          <JPDatePicker placeholder="yyyy/mm/日" valueFormat="YYYY-MM-DD 00:00:00" />
        </Form.Item>
        到
        <Form.Item name="execEndTime" noStyle>
          <JPDatePicker placeholder="yyyy/mm/日" valueFormat="YYYY-MM-DD 00:00:00" />
        </Form.Item>
      </Form.Item>
      <Form.Item label="执行过程记录" name="execRecordJson">
        <TextArea rows={4} placeholder="在此可简要记录执行过程中发生重要事件" />
      </Form.Item>
    </>
  );
};
export default Executive;
